// pages/minsu3/minsu3.js
// pages/minsu1/minsu1.js
Page({
  data: {
    active: 0,
    date: [],
    ratings:{},
    viewDetail: {}
  },
  onLoad: function (options) {
    // 页面初始化 options为页面跳转所带来的参数
    
  },
  // tab切换
  productClick() {
    this.setData({
      active: 0
    })
  },
  detailClick() {
    this.setData({
      active: 1
    })
  },
  ratingClick() {
    this.setData({
      active: 2
    })
  },
  // 二维码识别
  clickImg(){
    wx.previewImage({
      urls: ['https://636c-cloud1-3g27h0fqe967f01e-1311565349.tcb.qcloud.la/images/m3.png?sign=e5ad2de186ae6ebaef98d9184860f765&t=1656316639']
    })
    },
})